package com.ddstation.crm.menu.mapper;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import com.ddstation.crm.menu.entity.DtInvsManageInstitutionMenuEntity;

/**
 * dt_invs_manage_institution_menu 健康管理机构 menu
 * @author zhangdifeng
 * @date 2017年7月12日
 */
public interface DtInvsManageInstitutionMenuMapper {

	/**
	 * 全部菜单
	 * @return
	 */
	public List<DtInvsManageInstitutionMenuEntity> selectAllMenu();

	/**
	 * 纵向菜单 main page
	 * @param institutionId
	 * @param authTypeArray
	 * @return
	 */
	public List<DtInvsManageInstitutionMenuEntity> select(
            @Param("institutionId") String institutionId,
            @Param("doctorId") int doctorId,
            @Param("authTypeArray") List<Integer> authTypeArray);

	/**
	 * 工作台 纵向菜单 main page
	 * @return
	 */
	public List<DtInvsManageInstitutionMenuEntity> workbenchSelect();
	
	/**
	 * 横向菜单 service page
	 * @param institutionId
	 * @param authTypeArray
	 * @return
	 */
	public List<DtInvsManageInstitutionMenuEntity> selectHorizontal(
            @Param("institutionId") String institutionId,
            @Param("doctorId") int doctorId,
            @Param("authTypeArray") List<Integer> authTypeArray);
	
	
	public DtInvsManageInstitutionMenuEntity selectHorizontalByPK(@Param("menuId") int menuId);
}
